package com.matt.domain.courseV2;

import com.matt.commons.model.Domain;
import lombok.Data;
import lombok.EqualsAndHashCode;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;
import java.io.Serializable;

/**
 * 课程包组合
 * 例如，一年级语文（199 元） + 一年级数学（199 元）打包到一起，成为《一年级主课  促销装》，仅售 299 元。
 */
@EqualsAndHashCode(callSuper = true)
@Entity
@Data
@Table(name = "tc_course_package_album")
public class VendorCoursePackageBundle extends Domain implements Serializable {
    private static final long serialVersionUID = 1L;

    @Column(name = "vendor_id")
    private String vendorId;

    @Column(name = "name")
    private String name;

    @Column(name = "desc")
    private String desc;

    @Column(name = "cover")
    private String cover;
}